<HTML
><HEAD
><TITLE
>GR_WINDOW_INFO</TITLE
><META
NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.61
"><LINK
REL="HOME"
TITLE="Nano-X Library API"
HREF="index.html"><LINK
REL="UP"
TITLE="Nano-X Data Types"
HREF="nxstruct.html"><LINK
REL="PREVIOUS"
TITLE="GR_WINDOW_ID"
HREF="nxstruct_GR_WINDOW_ID.html"><LINK
REL="NEXT"
TITLE="GR_WM_PROPS"
HREF="nxstruct_GR_WM_PROPS.html"></HEAD
><BODY
CLASS="REFENTRY"
><DIV
CLASS="NAVHEADER"
><TABLE
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
><TR
><TH
COLSPAN="3"
ALIGN="center"
>Nano-X Library API</TH
></TR
><TR
><TD
WIDTH="10%"
ALIGN="left"
VALIGN="bottom"
><A
HREF="nxstruct_GR_WINDOW_ID.html"
>Prev</A
></TD
><TD
WIDTH="80%"
ALIGN="center"
VALIGN="bottom"
></TD
><TD
WIDTH="10%"
ALIGN="right"
VALIGN="bottom"
><A
HREF="nxstruct_GR_WM_PROPS.html"
>Next</A
></TD
></TR
></TABLE
><HR
ALIGN="LEFT"
WIDTH="100%"></DIV
><H1
><A
NAME="NXSTRUCT.GR.WINDOW.INFO"
><SPAN
CLASS="STRUCTNAME"
>GR_WINDOW_INFO</SPAN
></A
></H1
><DIV
CLASS="REFNAMEDIV"
><A
NAME="AEN12069"
></A
><H2
>Name</H2
><SPAN
CLASS="STRUCTNAME"
>GR_WINDOW_INFO</SPAN
>&nbsp;--&nbsp;Retrieve window properties</DIV
><DIV
CLASS="REFSYNOPSISDIV"
><A
NAME="AEN12073"
></A
><H2
>Synopsis</H2
><TABLE
BORDER="0"
BGCOLOR="#E0E0E0"
WIDTH="100%"
><TR
><TD
><PRE
CLASS="PROGRAMLISTING"
>typedef struct 
{
    GR_WINDOW_ID   wid;
    GR_WINDOW_ID   parent;
    GR_WINDOW_ID   child;
    GR_WINDOW_ID   sibling;
    GR_BOOL        inputonly;
    GR_BOOL        mapped;
    GR_COUNT       unmapcount;
    GR_COORD       x;
    GR_COORD       y;
    GR_SIZE        width;
    GR_SIZE        height;
    GR_SIZE        bordersize;
    GR_COLOR       bordercolor;
    GR_COLOR       background;
    GR_EVENT_MASK  eventmask;
    GR_WM_PROPS    props;
} GR_WINDOW_INFO;
  </PRE
></TD
></TR
></TABLE
></DIV
><DIV
CLASS="REFSECT1"
><A
NAME="AEN12075"
></A
><H2
>Description</H2
><P
>    This stucture is used in conjuncion with the 
    <A
HREF="nxapi_GrGetWindowInfo.html"
>    <TT
CLASS="FUNCTION"
>GrGetWindowInfo()</TT
></A
> function to return
    information about a window's current properties.
    </P
></DIV
><DIV
CLASS="REFSECT1"
><A
NAME="AEN12080"
></A
><H2
>Fields</H2
><DIV
CLASS="INFORMALTABLE"
><A
NAME="AEN12082"
></A
><P
></P
><TABLE
BORDER="1"
CLASS="CALSTABLE"
><THEAD
><TR
><TH
WIDTH="25%"
ALIGN="LEFT"
VALIGN="TOP"
>Type</TH
><TH
WIDTH="25%"
ALIGN="LEFT"
VALIGN="TOP"
>Name</TH
><TH
WIDTH="50%"
ALIGN="LEFT"
VALIGN="TOP"
>Description</TH
></TR
></THEAD
><TBODY
><TR
><TD
WIDTH="25%"
ALIGN="LEFT"
VALIGN="TOP"
><A
HREF="nxstruct_GR_WINDOW_ID.html"
><SPAN
CLASS="TYPE"
>GR_WINDOW_ID</SPAN
></A
></TD
><TD
WIDTH="25%"
ALIGN="LEFT"
VALIGN="TOP"
>wid</TD
><TD
WIDTH="50%"
ALIGN="LEFT"
VALIGN="TOP"
>The window ID of the window described in this structure,
        or <TT
CLASS="CONSTANT"
>0</TT
> if the window passed to
        <TT
CLASS="FUNCTION"
>GrGetWindowInfo()</TT
> is invalid.</TD
></TR
><TR
><TD
WIDTH="25%"
ALIGN="LEFT"
VALIGN="TOP"
><A
HREF="nxstruct_GR_WINDOW_ID.html"
><SPAN
CLASS="TYPE"
>GR_WINDOW_ID</SPAN
></A
></TD
><TD
WIDTH="25%"
ALIGN="LEFT"
VALIGN="TOP"
>parent</TD
><TD
WIDTH="50%"
ALIGN="LEFT"
VALIGN="TOP"
>The window ID of this window's parent window.</TD
></TR
><TR
><TD
WIDTH="25%"
ALIGN="LEFT"
VALIGN="TOP"
><A
HREF="nxstruct_GR_WINDOW_ID.html"
><SPAN
CLASS="TYPE"
>GR_WINDOW_ID</SPAN
></A
></TD
><TD
WIDTH="25%"
ALIGN="LEFT"
VALIGN="TOP"
>child</TD
><TD
WIDTH="50%"
ALIGN="LEFT"
VALIGN="TOP"
>The window ID of this window's first child window. All
        of this window's child windows can be determined by obtaining
        window information on the first child, then the first child's
        next sibling, then that child's next sibling, etc.. This field
        will be zero if the window has no children.</TD
></TR
><TR
><TD
WIDTH="25%"
ALIGN="LEFT"
VALIGN="TOP"
><A
HREF="nxstruct_GR_WINDOW_ID.html"
><SPAN
CLASS="TYPE"
>GR_WINDOW_ID</SPAN
></A
></TD
><TD
WIDTH="25%"
ALIGN="LEFT"
VALIGN="TOP"
>sibling</TD
><TD
WIDTH="50%"
ALIGN="LEFT"
VALIGN="TOP"
>The window ID of this windows's next sibling
        window. All child windows, of a particular parent, form a
        singly linked list. This field indicates the next child window
        in the list. This field will be zero if the window has no
        siblings, or is the last sibling in the linked list.</TD
></TR
><TR
><TD
WIDTH="25%"
ALIGN="LEFT"
VALIGN="TOP"
><A
HREF="nxstruct_GR_BOOL.html"
><SPAN
CLASS="TYPE"
>GR_BOOL</SPAN
></A
></TD
><TD
WIDTH="25%"
ALIGN="LEFT"
VALIGN="TOP"
>inputonly</TD
><TD
WIDTH="50%"
ALIGN="LEFT"
VALIGN="TOP"
>This field is <TT
CLASS="CONSTANT"
>GR_TRUE</TT
> if the
        window is an input only window.</TD
></TR
><TR
><TD
WIDTH="25%"
ALIGN="LEFT"
VALIGN="TOP"
><A
HREF="nxstruct_GR_BOOL.html"
><SPAN
CLASS="TYPE"
>GR_BOOL</SPAN
></A
></TD
><TD
WIDTH="25%"
ALIGN="LEFT"
VALIGN="TOP"
>mapped</TD
><TD
WIDTH="50%"
ALIGN="LEFT"
VALIGN="TOP"
>This field is <TT
CLASS="CONSTANT"
>GR_TRUE</TT
> if the
        window is mapped (visible).</TD
></TR
><TR
><TD
WIDTH="25%"
ALIGN="LEFT"
VALIGN="TOP"
><A
HREF="nxstruct_GR_COUNT.html"
><SPAN
CLASS="TYPE"
>GR_COUNT</SPAN
></A
></TD
><TD
WIDTH="25%"
ALIGN="LEFT"
VALIGN="TOP"
>unmapcount</TD
><TD
WIDTH="50%"
ALIGN="LEFT"
VALIGN="TOP"
>The depth of unmapping for this window. When zero this
        window is visible. Each time the window is unmapped this field
        will increase, each time the window is mapped this field will
        decrement.</TD
></TR
><TR
><TD
WIDTH="25%"
ALIGN="LEFT"
VALIGN="TOP"
><A
HREF="nxstruct_GR_COORD.html"
><SPAN
CLASS="TYPE"
>GR_COORD</SPAN
></A
></TD
><TD
WIDTH="25%"
ALIGN="LEFT"
VALIGN="TOP"
>x</TD
><TD
WIDTH="50%"
ALIGN="LEFT"
VALIGN="TOP"
>The X coordinate of the uper left corner of the window
        relative to the screen.</TD
></TR
><TR
><TD
WIDTH="25%"
ALIGN="LEFT"
VALIGN="TOP"
><A
HREF="nxstruct_GR_COORD.html"
><SPAN
CLASS="TYPE"
>GR_COORD</SPAN
></A
></TD
><TD
WIDTH="25%"
ALIGN="LEFT"
VALIGN="TOP"
>y</TD
><TD
WIDTH="50%"
ALIGN="LEFT"
VALIGN="TOP"
>The Y coordinate of the uper left corner of the window
        relative to the screen.</TD
></TR
><TR
><TD
WIDTH="25%"
ALIGN="LEFT"
VALIGN="TOP"
><A
HREF="nxstruct_GR_SIZE.html"
><SPAN
CLASS="TYPE"
>GR_SIZE</SPAN
></A
></TD
><TD
WIDTH="25%"
ALIGN="LEFT"
VALIGN="TOP"
>width</TD
><TD
WIDTH="50%"
ALIGN="LEFT"
VALIGN="TOP"
>The width of the window.</TD
></TR
><TR
><TD
WIDTH="25%"
ALIGN="LEFT"
VALIGN="TOP"
><A
HREF="nxstruct_GR_SIZE.html"
><SPAN
CLASS="TYPE"
>GR_SIZE</SPAN
></A
></TD
><TD
WIDTH="25%"
ALIGN="LEFT"
VALIGN="TOP"
>height</TD
><TD
WIDTH="50%"
ALIGN="LEFT"
VALIGN="TOP"
>The height of the window.</TD
></TR
><TR
><TD
WIDTH="25%"
ALIGN="LEFT"
VALIGN="TOP"
><A
HREF="nxstruct_GR_SIZE.html"
><SPAN
CLASS="TYPE"
>GR_SIZE</SPAN
></A
></TD
><TD
WIDTH="25%"
ALIGN="LEFT"
VALIGN="TOP"
>bordersize</TD
><TD
WIDTH="50%"
ALIGN="LEFT"
VALIGN="TOP"
>The width of the window's border.</TD
></TR
><TR
><TD
WIDTH="25%"
ALIGN="LEFT"
VALIGN="TOP"
><A
HREF="nxstruct_GR_COLOR.html"
><SPAN
CLASS="TYPE"
>GR_COLOR</SPAN
></A
></TD
><TD
WIDTH="25%"
ALIGN="LEFT"
VALIGN="TOP"
>bordercolor</TD
><TD
WIDTH="50%"
ALIGN="LEFT"
VALIGN="TOP"
>The color of the window's border.</TD
></TR
><TR
><TD
WIDTH="25%"
ALIGN="LEFT"
VALIGN="TOP"
><A
HREF="nxstruct_GR_COLOR.html"
><SPAN
CLASS="TYPE"
>GR_COLOR</SPAN
></A
></TD
><TD
WIDTH="25%"
ALIGN="LEFT"
VALIGN="TOP"
>background</TD
><TD
WIDTH="50%"
ALIGN="LEFT"
VALIGN="TOP"
>The window's background color.</TD
></TR
><TR
><TD
WIDTH="25%"
ALIGN="LEFT"
VALIGN="TOP"
><A
HREF="nxstruct_GR_EVENT_MASK.html"
><SPAN
CLASS="TYPE"
>GR_EVENT_MASK</SPAN
></A
></TD
><TD
WIDTH="25%"
ALIGN="LEFT"
VALIGN="TOP"
>eventmask</TD
><TD
WIDTH="50%"
ALIGN="LEFT"
VALIGN="TOP"
>The window's event mask. The value of this field
        indicates all events that the window is selected to receive (see 
        <A
HREF="nxapi_GrSelectEvents.html"
>GrSelectEvents()</A
>).</TD
></TR
><TR
><TD
WIDTH="25%"
ALIGN="LEFT"
VALIGN="TOP"
><A
HREF="nxstruct_GR_WM_PROPS.html"
><SPAN
CLASS="TYPE"
>GR_WM_PROPS</SPAN
></A
></TD
><TD
WIDTH="25%"
ALIGN="LEFT"
VALIGN="TOP"
>props</TD
><TD
WIDTH="50%"
ALIGN="LEFT"
VALIGN="TOP"
>The window's window manager properties.</TD
></TR
></TBODY
></TABLE
><P
></P
></DIV
></DIV
><DIV
CLASS="REFSECT1"
><A
NAME="AEN12194"
></A
><H2
>See Also</H2
><P
>      <A
HREF="nxapi_GrGetWindowInfo.html"
>            <TT
CLASS="FUNCTION"
>GrGetWindowInfo()</TT
></A
>,
      <A
HREF="nxstruct_GR_SCREEN_INFO.html"
>            <SPAN
CLASS="STRUCTNAME"
>GR_SCREEN_INFO</SPAN
></A
>.
    </P
></DIV
><DIV
CLASS="NAVFOOTER"
><HR
ALIGN="LEFT"
WIDTH="100%"><TABLE
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
><A
HREF="nxstruct_GR_WINDOW_ID.html"
>Prev</A
></TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
><A
HREF="index.html"
>Home</A
></TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
><A
HREF="nxstruct_GR_WM_PROPS.html"
>Next</A
></TD
></TR
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
><SPAN
CLASS="TYPE"
>GR_WINDOW_ID</SPAN
></TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
><A
HREF="nxstruct.html"
>Up</A
></TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
>GR_WM_PROPS</TD
></TR
></TABLE
></DIV
></BODY
></HTML
>